package com.ifd.iview.model;

import com.ifd.iview.as400.model.UserManager400;
import com.ifd.iview.common.IviewAppConfig;

public class UserManagerFactory {
	public static UserManager getUserManager(){
		UserManager manager = null;
		String serverType = IviewAppConfig.getInstance().getProperty("server.type");
		if(serverType.equalsIgnoreCase("as400"))
			manager = new UserManager400();
		return manager;
	}
}
